package com.example.check_oa.model.service;

import com.example.comment_oa.pojos.attendance.BusinessTripAp;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.web.multipart.MultipartFile;

import java.util.Map;

/**
* @author cjl
* @description 针对表【business_trip_ap】的数据库操作Service
* @createDate 2022-10-22 10:45:03
*/
public interface BusinessTripApService extends IService<BusinessTripAp> {
    //所有出差天数，请假天数，加班天数，迟到，严重迟到，早退，旷工，漏签
    //0代表月，1代表截止当前时间
    Map all(String day,String userNo,int type);
    //add出差申请
    int add(BusinessTripAp businessTripAp, MultipartFile file);
    //出差同意
    int yesBusi(String busiId,String yesUser);
    //不同意
    int noBusi(String busiId,String yesUser);
}
